
ignore_word_file = '../ignore_word.csv'
contraband_word_file = '../contraband.csv'


with open('all_contraband_word.txt','w',encoding='utf-8') as fwrite:
    with open(ignore_word_file,encoding='utf-8') as fread:
        for index, line in enumerate(fread):
            if index == 0:
                continue

            line = line.strip().split(",")
            fwrite.write(line[0] + " ingore\n")

    with open(contraband_word_file, encoding='utf-8') as fread:
        for index, line in enumerate(fread):
            if index == 0:
                continue

            line = line.strip().split(",")
            fwrite.write(line[0] + " contraband\n")


